﻿<Window x:Class="EncoderFileWatcherApp.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Icon="/EncoderFileWatcherApp;component/Images/112_DownArrowShort_Green.ico" WindowStartupLocation="CenterScreen" Closing="Window_Closing" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Height="469" Width="607">
    <Grid Loaded="Grid_Loaded" Height="429">
        <TextBox Height="23" Margin="72,28,94,0" Name="pathTextBox" VerticalAlignment="Top" Text="N:\Video\RawFootage" LostFocus="pathTextBox_LostFocus" />
        <Button Content="Start" Height="23" HorizontalAlignment="Right" Margin="0,103,96,0" Name="startButton" VerticalAlignment="Top" Width="75" Click="startButton_Click" />
        <Button Content="Stop" Height="23" HorizontalAlignment="Right" Margin="0,103,15,0" Name="stopButton" VerticalAlignment="Top" Width="75" Click="stopButton_Click" />
        <ProgressBar Height="20" Margin="8,106,176,0" Name="currentProgressBar" VerticalAlignment="Top" />
        <Label Content="Current Progress..." Height="28" HorizontalAlignment="Left" Margin="8,82,0,0" Name="currentProgressLabel" VerticalAlignment="Top" />
        <Label Content="Monitor" Height="28" HorizontalAlignment="Left" Margin="10,27,0,0" Name="label1" VerticalAlignment="Top" />
        <Label Content="Profile" Height="28" HorizontalAlignment="Left" Margin="12,55,0,0" Name="label2" VerticalAlignment="Top" />
        <TextBox Height="23" Margin="72,57,12,0" Name="profileTextBox" VerticalAlignment="Top" Text="N:\Video\RawFootage\HomeVideoPreset_720x480_WMV_QualityVBR_90.xml" LostFocus="profileTextBox_LostFocus" />
        <ListBox Margin="12,247,11,12" Name="logTextBox" />
        <ListBox Margin="12,165,12,0" Name="filesToProcessListBox" Height="76" VerticalAlignment="Top" />
        <Label Content="Files to process:" Height="28" HorizontalAlignment="Left" Margin="12,127,0,0" Name="filesToProcessLabel" VerticalAlignment="Top" />
        <Button Content="Exit After Current" Height="23" HorizontalAlignment="Right" Margin="0,129,15,0" Name="stopAfterCurrentButton" VerticalAlignment="Top" Width="156" Click="stopAfterCurrentButton_Click" />
        <TextBlock Height="51" Margin="116,0,135,161" Name="pleaseWaitTextBlock" Text="Please wait while we clean up some resources..." VerticalAlignment="Bottom" TextAlignment="Center" Visibility="Hidden" FontWeight="Bold" Background="MistyRose" />
        <Menu Height="23" HorizontalAlignment="Stretch" Name="menu1" VerticalAlignment="Top" Margin="0,0,11,0">
            <MenuItem Header="_File" Name="fileMenuItem">
                <MenuItem Header="E_xit" Name="exitMenuItem" Click="exitMenuItem_Click" />
            </MenuItem>
            <MenuItem Header="_Tools" Name="toolsMenuItem">
                <MenuItem Header="Set Created _DateTimes on Target files" Name="setCreatedDateTimesMenuItem" Click="setFilePropertiesButton_Click" />
            </MenuItem>
            <MenuItem Header="_Help" Name="helpMenuItem">
                <MenuItem Header="_About" Name="aboutMenuItem" Click="helpButton_Click" />
            </MenuItem>
        </Menu>
    </Grid>
</Window>
